<#assign ctx=base.contextPath>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<title>点睛网·点拍分享</title>
<link rel="stylesheet" href="${ctx}/static/css/global.css">
<script src="https://cdn.bootcss.com/vue/2.5.3/vue.min.js"></script>
</head>
<body>
<div id="box">
	<div class="news_title">
		<span>
			<img src="${ctx}/static/images/time.png" alt="">
			${(content.createDate?string("yyyy-MM-dd"))!} 
		</span>
		<span>
			<img src="${ctx}/static/images/default_title_img.png" alt="">
			${user.realname!} 
		</span>
	</div>
	<div class="news_nr" id="dianpaiId">
		<div class="news_block" v-for="(content,index) in list">
			<h4>{{content.subtitle}}</h4>
			<div class="content">
				<img :src="img" onerror="JavaScript:this.src='${ctx}/static/images/img_preview.png'" v-for="(img,index) in content.imgs">
				{{content.msg}}
			</div>
		</div>
	</div>

</div>	
</body>
<script type="text/javascript">
var json = ${content.txt};
var logApp = new Vue({
	  el: '#dianpaiId',
	  data:{
		  list:json.data
	  }
})
</script>
</html>